clear,clc
Array=1:5;
String = '[Array*2; Array/2; 2.^Array]';
Output1 = eval(String)

theta=pi;
eval('Output2=exp(sin(theta))');
who